I assume you are trying to migrate a whole site from one location to another. If so, there are a couple of options:
Within same SharePoint environment / farm, you can perform export-import using CMP migration option using PowerShell. By using this option, you can retain the contents of the lists and libraries along with the contents types and site columns associated in it. However, this technique has its own limitations and may be out-dated. For more information, please refer the following article:
Across SharePoint servers, you can use the third party SharePoint migration tools such as Vyapin's Dockit Migrator for SharePoint, as the CMP technique is not suitable for the migration across SharePoint servers / versions due to it’s inherent limitations.