Question: how to transfer contacts from iphone to new apple id?
Answer: Connect both of your iPhones to the Wi-Fi network > Log in the same Apple ID on your two iPhones. Go to Settings > Tap on your Apple ID's profile part > Click iCloud > Select Contacts > Tap on it to turn it on.