I’ve used this plugin many times and it never fails. All-in-One WP Migration is outstanding quality plug-in!
Just export data from your old site and import into new after installing this plugin on both. Use replace text option on export, if you are moving to another domain and need to edit links between your pages / posts.
Than import downloaded data .zip file into your new site, where you have already installed WordPress with same plugin, and it works automatically. You’ll need to re-login with same users you had on your old site. If you created a new user with same name like on your old site, its password will change to an old one.