To switch from one iPhone to another, you should back up everything to your iCloud account and then restore it on the new iPhone.
You can recover deleted photos on iPhone from the Recently Deleted folder in the Photos app or a backup on iCloud, iTunes, or cloud services.