hamedkouhfallah you can move Flarum just like any other PHP app. Move all files and database, update database credentials in config.php if necessary and update the url in config.php if you also change domain.
You can skip copying the vendor folder. Running composer install inside your Flarum directory will download all of the content of vendor again.
Don't forget to back up everything in case something goes wrong.