When your website is ready and you need to move it to the live server, we recommend using a dedicated migration plugin, like the Duplicator Plugin.
It will copy the whole website with the database. This is also an excellent way of storing a copy of your site in case anything terrible happens to it in the future.
After the migration is complete, you will need to go to Theme Options and Save to regenerate the CSS and JS files with the new URLs.
Important: You don't need to purchase the pro version of Duplicator Plugin. The free version will back up your entire website.