Question: how to transfer messages from one ipad to another?
Answer: Go to Settings > [your name] > iCloud, then turn on Messages (if it's not already turned on). Every message you send and receive on your iPad is saved in iCloud. And, when you sign in with the same Apple ID on a new device that also has Messages in iCloud turned on, all your conversations show up there automatically.