title: How do I copy a directory in Ant without deleting existing files in the destination directory?
body: <p>I have the following file structure:</p>
  
  <ul>
  <li>FolderToBeCopied
  <ul>
  <li>folder1
  <ul>
  <li>somefile1</li>
  <li>somefile2</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>I am copying FolderToBeCopied to a location which already contains files:</p>
  
  <ul>
  <li>DestinationFolder
  <ul>
  <li>folder1
  <ul>
  <li>anotherfile1</li>
  <li>anotherfile2</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>I copy using the following in my Ant build script:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;copy overwrite="true" todir="DestinationFolder"&gt;
              &lt;fileset dir="FolderToBeCopied" includes="**"&gt;
              &lt;/fileset&gt;
          &lt;/copy&gt;
  </code></pre>
  
  <p>However, when I run the build script, it copies the files somefile1 and somefile2 to folder1 at the destination, but deletes the files already in folder1 (ie. anotherfile1, anotherfile2). Is there a way to prevent it deleting files already in the destination folder?</p>