Copy old WAMP directory to new installation of WAMP
You need to change the root directory that WAMP is using for the website: 

For wamp 2.5 on Windows, use a text editor, e.g. notepad++ to edit c:\wamp\bin\apache\apache2.4.9\conf\httpd.conf


Change DocumentRoot "c:/wamp/www" to DocumentRoot "c:/my/new/path" (Note slash direction). This will change the location where files are served from (~Line 230).
Change  to  (Note slash direction). This applies permissions from the old directory to the new one (~Line 252).
Copy all content from c:\wamp\www to your new directory (c:\my\new\path), including index.php
Edit c:\my\new\path\index.php and change line 40 $server_dir = "../"; to $server_dir = "C:/wamp/"; This changes the location where config files etc. for wamp are read from. Change $suppress_localhost = false; to correct projects links (~Line 30).


I pulled this from this post: https://webmasters.stackexchange.com/questions/43522/how-to-change-the-www-root-directory-on-wampserver