If you only want to move contacts, that can be done via iCloud. Settings > [username] > iCloud > Contacts in the old device will sync to iCloud and the same setting on the new device will sync to it.
If you want to move other data: Transfer content from your previous iOS device to your new iPhone, iPad, or iPod touch - Apple Support