title: Using Python to copy the directory structure
body: <p>Is it possible to write a script in python to do the following thing.</p>
  
  <pre><code>Basic Operation : copy files with the proper directory structure.
  </code></pre>
  
  <p>Given a list of file names , the program should scan the directory, and copy the files in the directory to a destination directory maintaining the folder structre. This is something like 'Export file system by creating appropriate subfolders' functionality in eclipse.</p>