code: public void copyToLocalFile(boolean delSrc, boolean validate,
        Path src, Path dst)
    throws IOException {
      FileUtil.copy(this, src, getLocal(getConf()), dst, delSrc,
          validate, getConf());
    }
docs: Copy a file from this file system to local
  
  @param delSrc if source should be deleted
  @param validate if copied destination should be validated against source
  @param src source file
  @param dst destination file
  @throws IOException if error occurs