How can i copy files from the ubuntu server (24.04) to a usb drive, then use those copied files and put it in the new install of ubuntu server?

Replied in Discord with the following:

You could copy the individual backup zips, or the entire ampdata folder, then restore the ampdata folder on a new install (personal preference).
You’ll find all of AMP’s files under /home/amp/.ampdata
And you can restore/migrate an AMP install following this guide:
https://discourse.cubecoders.com/t/migrating-instances-to-a-new-machine/532/8
Or if you’re just migrating a couple instances, you could follow this and adapt it a tad by adding the “new” instances to the existing instances.json:
https://discourse.cubecoders.com/t/migrate-instance-to-new-datastore/25340