You can back up messages on an iPhone to your iCloud account, or sync messages from your iPhone to your Mac.
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.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results