title: File Operations Plugin fileCopyOperation - Jenkins pipeline
body: <p>I am working on File Operations Plugin- fileCopyOperation in Jenkins pipeline (Jenkins version - v2.73.2 ,Jenkins pipeline - 2.5) i need to copy file from one location to the other location with different folder structure.</p>
  
  <p>Expected:</p>
  
  <h2>Source</h2>
  
  <p>C:\workspace\Hello -> xxx,yyy [xxx directory contains sub-directories and files aaa,bbb,ccc.txt; yyy dir contains web.xml,sec.txt]</p>
  
  <h2>Destination</h2>
  
  <p>F:\Test\Sample -> aaa,bbb,ccc.txt<br>
  F:\Test\Example -> web.xml,sec.txt</p>
  
  <p>Below is the command i am using which is copying whole Hello directory not the way it is behaving as expected.</p>
  
  <pre><code>fileOperations([fileCopyOperation(excludes: '', flattenFiles: false, includes: 'C:\workspace\Hello\**', targetLocation: 'F:\Test\Sample')])
  </code></pre>
  
  <h2>Present:</h2>
  
  <p>F:\Test\Sample\workspace\Hello -> xxx,yyy  </p>
  
  <p>Appreciate your inputs.</p>