code: def repack_archive (archive, archive_new, verbosity=0, interactive=True):
      
      util.check_existing_filename(archive)
      util.check_new_filename(archive_new)
      if verbosity >= 0:
          util.log_info("Repacking %s to %s ..." % (archive, archive_new))
      res = _repack_archive(archive, archive_new, verbosity=verbosity, interactive=interactive)
      if verbosity >= 0:
          util.log_info("... repacking successful.")
      return res
docs: Repack archive to different file and/or format.