Question: how to transfer just contacts from one iphone to another?
Answer: Go to Settings > Tap on your Apple ID's profile part > Click iCloud > Select Contacts > Tap on it to turn it on. Select Merge when it says, “What would you like to do with existing local contacts on your iPhone”. Wait for the contacts on old iPhone syncing to new iPhone.