This is one of the best plugins to use, if you ever wanted to migrate your WordPress site. (well, especially when you wants to migrate from A domain (a WordPress site) to B domain (also another WordPress site), and preserve all the post, pages, and etc.)
The WordPress Importer will import the following content from a WordPress export file:
- Posts, pages and other custom post types
- Custom fields and post meta
- Categories, tags and terms from custom taxonomies
For more info visit here.