private void copyZipEntryToTmpFile(ZipEntry zipEntry, File tmpFile) throws IOException {
        InputStream input = null;
        OutputStream output = null;
        try {
            input = this.pluginArtifactZip.getInputStream(zipEntry);
            output = new FileOutputStream(tmpFile);
            IOUtils.copy(input, output);
            output.close();
        } finally {
            IOUtils.closeQuietly(input);
            IOUtils.closeQuietly(output);
        }
    }
Copies zipEntry to tmpFile.
@param zipEntry
@param tmpFile
@throws IOException
common/plugin/src/main/java/io/apiman/common/plugin/PluginClassLoader.java