title: copying in build.xml using copydir command
body: <p>Iam using Jenkins to build my project. In build.xml, I have written the following code to copy the files from src to dest folder...</p>
  
  <pre><code>&lt;copydir src="../image_files/Ace/drawable-hdpi" dest="../IgnitorACE/res/drawable-hdpi"/&gt;
  </code></pre>
  
  <p>The problem is that, in src having the only two image files with same name as in dest folder but the pattern/design  of images are differnt. So, whenever i run my build, jenkins has to copy and replace the image files with new image but same name. </p>
  
  <p>The above command is working but getting warning as</p>
  
  <pre><code>[copydir] DEPRECATED - The copydir task is deprecated.  Use copy instead.
  [copydir] Copying 2 files to /var/lib/jenkins/workspace/Ace Build/IgnitorACE/res/drawable-hdpi
  </code></pre>
  
  <p>So, any solution will be appreciated.</p>
  
  <p>Thanks</p>