code: private boolean rename(String src, String dst) throws IOException {
      src = stripPath(src);
      dst = stripPath(dst);
      File file = new File(src);
      return file.renameTo(new File(dst));
    }
docs: Rename a file to a file or a directory to a directory.
  
  @param src path of source file or directory
  @param dst path of destination file or directory
  @return true if rename succeeds