To switch from one iPhone to another, you should back up everything to your iCloud account and then restore it on the new iPhone.