title: Copy files from one folder to another with Groovy
body: <pre><code>new AntBuilder().copy(todir: destinationDir) {
      fileset(dir: sourceDir)
  }
  </code></pre>
  
  <p>i have used above code to copy a file from source to destination folder.</p>
  
  <p>it was working fine with grails 2.3.0 now updated grails to 2.3.4 ,now its not working in production environment.</p>
  
  <p>Now getting the following error 
  "java.lang.ClassNotFoundException: org.apache.tools.ant.BuildException"</p>