Thread:Project:Support desk/Upgrade 1.15.1 -- 1.15.4 and move to new server simultaneously?/reply

Either method should work. Remember that you will need to copy over the images and extensions directories, and you will need to copy and update LocalSettings.php. You should also upgrade to 1.16.