The easiest way is to restore your new smartphone from a cloud backup (e.g., iCloud), which often transfers your 2FA link automatically. If this doesn't work, you must remove the old device link and set up a new one.