Server upgrade

SUGGESTED

I am looking to move my Sage 50 server from Windows 7 to Windows 2012 r2.  We are on Sage 2020.  I am looking for the best way to do this.  Can I just copy the contents of the "Company" folder to the new server?  I would stop the DB on both servers and then copy the folder with all the companies.  Then I would restart the DB.  I would then remap the clients to the share on the new server using the same drive letter.  Will this work or do I need to use a different process?