Not sure if I have done it before, but the process should look like this:
1) copy over the site content + DB
2) update 2 values under wp_options table via phpmyadmin (
https://wordpress.org/support/articl...n-the-database )
3) update also DB_NAME, DB_USER, DB_PASSWORD in the wp-config.php file if needed
4) test if everything loads fine
5) redirect the old domain to the new one..