if you go on the files app on your iPad you can find a category called Minecraft in that there's folders open the one called games then com.mojang then Minecraft worlds then you can find a bunch of folders named gibberish you can copy those folders to the minecraftworlds folder on your new iPad just make sure that Minecraft app is closed
hope this was helpful