You can sync contacts to iCloud from any Apple device to access each contact anywhere you can sign in to your iCloud account.
Unboxing a new iPhone shouldn't make you anxious about whether your information will safely transfer to the new phone. These are the ways to do it easily and safely.