I've done this a time or two, but don't remember for sure.
I think it's as simple as start up iFly GPS on your old phone while it is connected to your internet connected router. Then click Menu - About - My Account - Deregister Device.
Install iFly GPS on your new phone and log into your account and register.