docs: public static BufferedImage copyImage(Image img, int imageType) {
  		final BufferedImage bimage = new BufferedImage(img.getWidth(null), img.getHeight(null), imageType);
  		final Graphics2D bGr = bimage.createGraphics();
  		bGr.drawImage(img, 0, 0, null);
  		bGr.dispose();
  
  		return bimage;
  	}