@Override
  public void backup(File toDir, File backupDir) throws IOException {
    if (myInPlace) {
      File fileToBackup = getFile(toDir);
      if (fileToBackup.exists()) {
        Utils.copy(fileToBackup, getFile(backupDir), false);
      }
    }
    else {
      File moveBackup = getSource(backupDir);
      if (!moveBackup.exists()) {
        File fileToBackup = getSource(toDir);
        if (fileToBackup.exists()) {
          Utils.copy(fileToBackup, moveBackup, false);
        }
      }
    }
  }
@Override
  public void backup(File toDir, File backupDir)