I don't think we have this functionality in the FCL off the shelf however, you could write a very simple recursive method which does it or better still, if ur one of my types......
System.Diagnostics.Process oProcess = new System.Diagnostics.Process();
oProcess.StartInfo.FileName = "xcopy";
oProcess.StartInfo.Arguments = String.Format(@" ""{0}"" ""{1}"" /S /E /Y", source,
destination);
oProcess.Start();
.... use the good old XCopy and get the job done with minimum fuss.
HTH, Metallikanz!
> Is there a way to copy directory contents using the System.IO.Directory class?
> I want to make a full copy of one folder (files and subfolders) to another
[quoted text clipped - 5 lines]
>
> Thanks