code: public static void zipInto(File target, File... files) {
          ZipOutputStream zos = null;
          try {
              zos = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(target)));
              byte[] buffer = new byte[128];
              for (File f : files) {
                  ZipEntry entry = new ZipEntry(f.getName());
                  InputStream is = new BufferedInputStream(new FileInputStream(f));
                  zos.putNextEntry(entry);
                  int read = 0;
                  while ((read = is.read(buffer)) != -1) {
                      zos.write(buffer, 0, read);
                  }
                  zos.closeEntry();
                  IO.close(is);
              }
          } catch (IOException e) {
              throw E.ioException(e);
          } finally {
              IO.close(zos);
          }
      }
docs: Zip a list of files into specified target file.
  
  @param target
  the target file as the zip package
  @param files
  the files to be zipped.