title: Copy file issue
body: <p>I have following two files inside one directory, Test.app and Test.app.dSYM. I want to copy Test.app.dSYM file to different location as follows</p>
  
  <pre><code>&lt;copy file="./release/Test.app.dSYM" tofile="./build/Test.app.dSYM"/&gt;
  </code></pre>
  
  <p>But when I run the ant file it gives: </p>
  
  <blockquote>
    <p>Use a resource collection to copy directories' error and failed. </p>
  </blockquote>
  
  <p>I delete <code>Test.app</code> and it copied successfully. Seems issue with .app part in both files. I cannot change file names. Can some one help me to solve this issue</p>