Yes, the procedure is very straightforward.
You must also updated the board URL in the Options.
How can I move my installation to a different directory?
Update the Board URL in the ACP -> Options -> Basic Board Information and move the files to the new directory. You may need to restart the server for the change to take effect.