private File copyToMergedCodebase(String filename,File destFile){
  File mergedFile=mergedCodebase.getFile(filename);
  try {
    filesystem.makeDirsForFile(mergedFile);
    filesystem.copyFile(destFile,mergedFile);
    return mergedFile;
  }
 catch (  IOException e) {
    throw new MoeProblem(e.getMessage());
  }
}

private File copyToMergedCodebase ( String filename , File destFile ) { File mergedFile = mergedCodebase . getFile ( filename ) ; try { filesystem . makeDirsForFile ( mergedFile ) ; filesystem . copyFile ( destFile , mergedFile ) ; return mergedFile ; } catch ( IOException e ) { throw new MoeProblem ( e . getMessage ( ) ) ; } }
copy the destfile into the merged codebase . this is where the output of merge will be written to .
