public static void copyDir(@NotNull File fromDir, @NotNull File toDir) throws IOException {
    copyDir(fromDir, toDir, true);
  }
public static void copyDir(@NotNull File fromDir, @NotNull File toDir)