title: Simultaneously copying and renaming directory in ant
body: <p>I've looked through ant tasks like copy, but can't really seem to find a way. With this kind of file structure:</p>
  
  <pre><code>/Resources/Docs/SpecificDoc/ScalaDocs
  </code></pre>
  
  <p>I want to rename "ScalaDocs" to "TargetDocs", having an end structure like so:</p>
  
  <pre><code>/Resources/Docs/TargetDocs
  </code></pre>