Sell the Beretta for more than $500. Like with a car, the dealer has to make money when he resells the trade in and has to make money selling you the new one. He makes money twice, you lose twice.

Of the ARs you listed the choice is easy. Go with the Colt