title: How to copy directories and files in the following scenario?
body: <p>I have a source folder that contains a few directories and some files. It may look something like this:</p>
  
  <pre><code>custom app 1 (directory)
  custom app 2 (directory)
  file1
  file2
  file3
  </code></pre>
  
  <p>The user will select an app and it should copy everything for the app except what is not needed, so for example, if the user selected app 1, the target folder should contain:</p>
  
  <pre><code>images (this images directory is from custom app 1 in the source folder)
  file1
  file2
  file3
  </code></pre>
  
  <p>Notice above, how I extracted only the contents of custom app 1, which was a folder called images in this case and copied it to the target folder and disregarded custom app 2.</p>
  
  <p>What is the best way to accomplish the above?</p>