The safest way to copy databases to a different server
is to make a dump of the whole database using MYSQLDUMP
This makes a textfile of everything that is in your database.
You can copy that textfile to your other server, and read it using mysqlimport.
there is more information about that in the mysql manual.