Copies all main images, mask images, and region images from the layer specified by src.
The image size will be the same as the source layer's image size. Other information is not copied.
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.