Question: how to transfer contacts and data from old iphone to new phone?
Answer: Connect both your old and new iPhones to Wi-Fi.
Make sure you're signed into the same Apple ID on both devices (Settings > [your name]).
On both iPhones, open Settings > [your name] > iCloud.
Enable the Contacts toggle on both devices.