code: public void	
      doArchive(String logListURI, String archiveDirectory)
      throws IOException
    {
      String destURL = FileSystem.getDefaultUri(fsConfig) + archiveDirectory;
      DistCp.copy(new JobConf(fsConfig), logListURI, destURL, null, true, false);
    }
docs: doArchive: Workhorse function to archive log-files.
  @param logListURI : The uri which will serve list of log-files to archive.
  @param archiveDirectory : The directory to store archived logfiles.
  @throws IOException