title: Powershell: Copy all Subdirectory and Contents in Parent Folder to Another Folder Destination
body: <p>I have some folders called </p>
  
  <pre><code>C:\Source
  C:\Destination
  
  C:\Source contains 
    ---&gt; FolderA (having few files)
    ---&gt; FolderB (having few files)
    ... etc
  </code></pre>
  
  <p>I want to copy all subdirectories into C:\Destination</p>
  
  <p>How would I write Powershell program which takes all multiple variable subfolders and copies into Directory?</p>
  
  <p>This does not work, as it is results in copying all of Source Folder into Destination resulting in</p>
  
  <p><a href="https://stackoverflow.com/questions/43867840/how-to-copy-folder-with-subfolders">How to copy folder with subfolders?</a></p>
  
  <pre><code>C:\Destination\Source
  </code></pre>
  
  <p>Would like to keep same subdirectory folder structure</p>