Copying a folder and it's contents in vb.net
<p>I want to copy a specific folder and it's contents using vb.net, the methods I found all just copy the contents of the specified folder but not the folder as a whole. I want the folder that the path leads to to be copied fully and not only the contents.I have this code at the moment: </p>

<pre><code> Microsoft.VisualBasic.FileIO.FileSystem.CopyDirectory("C:\Users\Max\Desktop\test\" &amp; sender.name, "C:\Users\Max\Desktop\test2")
</code></pre>