Virtualmin makes upgrades and migrations as seamless as possible. The documentation below describes the process of migrating to a new server.
Migrations
Migrating To a New Server - How to migrate your Virtual Servers from an existing server to a new server.