Question: how to transfer whatsapp messages to a new number?
Answer: Open WhatsApp.
Tap More options > Settings > Account > Change number.
Enter the old number (the one currently linked to your WhatsApp account) in the old phone number field.
Enter the number you wish to use going forward in the new phone number field.