Follow this guide to migrate, everything stays the same including the ports (ip address is the only thing that changes)
http://www.centova.com/en/faq/cast3/information/migrating_a_centova_cast_installation_to_another_serverRSYNC is the best way to migrate, then just export / import your DB, there are a few other steps in the guide it's important you follow it exactly as they describe.
I've also found, sometimes the DB can get huge if the server has been up for many years , importing through the browser won't work, you can use the method in the migration guide, or what I've found to be easier is also using RSYNC, here's a example
rsync -avze ssh /var/lib/mysql/cast/ 11.11.22.22:/var/lib/mysql/cast/
/etc/init.d/mysqld restart
- cast is the db name/folder I choose at installation
- 11.11.22.22 would be the ip for the new server