Though, this method will only work if you are using the same phone number on both the devices.
First, create a backup of your WhatsApp messages, then restore the backup to your new device.
Whether it is transfer, backup, or restore, the tool does it all in no minutes.
Then start it and select the Restore Social App section from the initial screen.