For my first post in this forum, having come over from TFL, I gotta say "Don't do it, man!"
I sold a 92FS Inox with two 15-rd factory mags. One of only maybe two guns I wish I could have back, that I really, really regret selling.
If you just gotta have a Glock, save up and buy used; don't trade the Beretta for it unless you just don't like the Beretta. And you should get some $$ on top of the trade, too.