To transfer only the WordPress website content from one site to another (between two different WordPress installations). In such cases, by using the Tools -> Export from the left menu allows you to easily move your posts, comments, users, attachments and other information with just few clicks.
To do this, first login as administrator dashboard and select Tools -> Export from the left menu. Then download the export xml file.
Now, login to your new WordPress installation and chose Tools -> Import from the left menu.
Browse the exported xml file and choose the authentication rights in drop down and click submit.
All files are imported to the new website.