You can simply copy the files - but i usually use mysqlhotcopy - which will lock the database, flush the tables and copy the whole database to a location you specify. You can then tar and zip that directory and move it to your live server. Just be sure that you set the permissions so that mysql can read the files once you move them.