Well you can do a factory restore by erasing all data from the settings menu - and if you've done a backup first then your data will be saved for transfer to a new device.
I'd advise transferring to the new device first just to make sure all goes smoothly before you restore the old iPad back to factory settings.