You can also copy a web site from within the IDE. The advantage of doing it inside the IDE instead of in Windows Explorer is that you have a lot more flexibility. Not only can you copy the site to your local file system, but you can also simultaneously create an IIS virtual directory or copy it to an FTP or remote web site over the Internet.
In this example, we will copy the AdventureWorks web site to another web site, called AdventureWorksRevisited, in the same parent folder.
There are two equivalent ways to begin the process of copying a web site from within the IDE. One is to click the Website → Copy Web Site… menu item. The other is to click the Copy Web Site icon at the top of the Solution Explorer (see Figure B-6).
Figure B-6. The Copy Web Site icon at the top of the Solution Explorer is a quick way to start the copying process.
Either way you do it, the Copy Web Site window will open in the middle window of the IDE, as shown in Figure B-7.
Figure B-7. The Copy Web Site window looks like this when you first open it. You use the Connect button to locate the destination folder.