code: public void copyFromLocalFile(boolean delSrc, boolean overwrite, 
        boolean validate, Path src, Path dst)
      throws IOException {
      Configuration conf = getConf();
      FileUtil.copy(getLocal(conf), src, this, dst, delSrc, overwrite,
          validate, conf);
    }
docs: copy a file from local to a file in this file system
  
  @param delSrc if source should be deleted
  @param overwrite if destination should be overwritten
  @param validate if copied destination should be validated against source
  @param src source file
  @param dst destination path
  @throws IOException