code: public void copyInto(File source, File targetDir, final VariableResolver resolver) throws IOException{
          FileUtil.copyInto(source, targetDir, new FileUtil.FileCreator(){
              @Override
              public void createFile(File sourceFile, File targetFile) throws IOException{
                  replace(new FileReader(sourceFile), new FileWriter(targetFile), resolver);
              }
  
              @Override
              public String translate(String name){
                  return replace(name, resolver);
              }
          });
      }
docs: /*-------------------------------------------------[ File Copy ]---------------------------------------------------