Hello @bmtrnavsky,
I will help you with steps and you will not lose any of your posts.
- Take backup of your old site database from phpmyadmin
- Copy all the source code from your hosting
- In new hosting create new database and import the old database
- Upload all your old source code to new hosting site
- Now goto wp-config.php file and change DB_NAME, DB_USER,DB_PASSWORD and DB_HOST
- Once your done with this. If your website url is changing then download this plugin https://www.ads-software.com/plugins/velvet-blues-update-urls/. Which replace all the website old link with new link.
- Now goto admin panel and inside settings menu then permalinks and click on save changes that will generate new .htaccess.
After doing this steps everything will work fine.