Question: how to transfer data from one i phone to another?
Answer: Turn on your new iPhone and place it near your current iPhone that's using iOS 12.4 or later. ... 
Wait for an animation to appear on your new iPhone. ... 
When asked, enter your current iPhone passcode on your new iPhone.
Follow the instructions to set up Face ID or Touch ID on your new iPhone.