Copies the layer's main image to the Bitmap object specified by dest.
The image size will be the same as the source layer's image size.
Although it is called a copy, it actually just results in a state where "the same image is shared by two or more layers," so this method takes almost no execution time.