Copying a directory in ASP.NET February 9, 2011|ASP.NET The System.IO.DirectoryInfo class does not come with a method to copy a directory. In this article, we’ll see how to create a method to do that, and then use it in an ASP.NET page.