title: Copying files with Copy-Item or robocopy
body: <p>I got the following problem. I have a folder C:\Users\Username. In that folder you can find folders like "Documents", "Favorites" etc.</p>
  
  <p>What im trying to do is including only some of the folder to copy.</p>
  
  <p>I was playing arround with <code>Robocopy XD</code> to exclude some folder but that is not acceptable cuz i cant know all the folder that may be there.</p>
  
  <p>Then i tried <code>Get-ChildItem -include &lt;some dir&gt;</code>. Now i want to copy only the listed folders. But robocopy copies only the content of the folder and not the folder itself. Are there any other solutions for this problem.</p>