Question: how to transfer app data from one iphone to another?
Answer: Turn on your new iPhone and follow the setup instructions.
On the Apps & Data screen, tap "Restore from iCloud Backup."
When your iPhone asks you to sign into iCloud, use the same Apple ID that you used on your previous iPhone.