try ( // Try-with-resources. These stream will be autoclosed when needed.
InputStream in = NativeLib.class.getClassLoader().getResourceAsStream(path+filename);
OutputStream out = new FileOutputStream(fileOut);
try ( // Try-with-resources. These stream will be autoclosed when needed.
InputStream in = NativeLib.class.getClassLoader().getResourceAsStream(path+filename);
OutputStream out = new FileOutputStream(fileOut);