I have folder stored in Debug inside the Solution Folder, but when i try to copy this folder to another one an "Access to the directory is denied" exception, can any one help?
if (!System.IO.Directory.Exists(@"Exported Files"))
{ 
    var di = new DirectoryInfo(@"SBooks");
    di.Attributes &= ~FileAttributes.Directory;
    System.IO.File.Copy(@"SBooks", @"Exported Files\\");
}
 
     
     
    