private boolean copyFilesFromCurrentReleaseToNewRelease(){
  boolean result=true;
  final File currentWwwFolder=new File(currentReleaseFS.getWwwFolder());
  final File newWwwFolder=new File(newReleaseFS.getWwwFolder());
  try {
    if (newWwwFolder.exists()) {
      FilesUtility.delete(newWwwFolder);
    }
    FilesUtility.copy(currentWwwFolder,newWwwFolder);
  }
 catch (  Exception e) {
    e.printStackTrace();
    result=false;
  }
  return result;
}

private boolean copyFilesFromCurrentReleaseToNewRelease ( ) { boolean result = true ; final File currentWwwFolder = new File ( currentReleaseFS . getWwwFolder ( ) ) ; final File newWwwFolder = new File ( newReleaseFS . getWwwFolder ( ) ) ; try { if ( newWwwFolder . exists ( ) ) { FilesUtility . delete ( newWwwFolder ) ; } FilesUtility . copy ( currentWwwFolder , newWwwFolder ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; result = false ; } return result ; }
copy all files from the previous release folder to the new release folder .
