Question: how to transfer messages on my iphone?
Answer: Turn on your new iPhone.
Go through the setup process. ... 
When asked, tap Restore from iCloud Backup and Next. ... 
Your new phone will start to download everything from your back-up, including all your messages.