title: python copying the files with include pattern
body: <p>I need to copy the files with include pattern using python script. Since shutil supports ignore_patterns to ignore the file. Is there any method to include the pattern to copy the files. 
  Otherwise do I have to write the code explicitly?. </p>
  
  <p>Thanks in advance</p>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>from shutil import copytree, ignore_patterns
  
  source=r'SOURCE_PATH'
  destination=r'DESTINATION_PATH'
  copytree(source, destination, ignore=ignore_patterns('*.txt'))
  </code></pre>
  
  <p>The above code copied the files from dir except specified format, But I need something like this below</p>
  
  <pre><code>from shutil import copytree, include_patterns
  
  source=r'SOURCE_PATH'
  destination=r'DESTINATION_PATH'
  copytree(source, destination, ignore=include_patterns('*.txt'))
  </code></pre>