If you want to move WordPress hosting to a different directory – maybe you installed it in the wrong one.
Whether you are moving WordPress to a new server or to a different location on your server, you don’t need to reinstall. WordPress is flexible enough to handle all of these situations.
WordPress has instructions in their Codex.