def setup img = loadImage("fruit.png") background(img) copy(img, 7, 22, 10, 10, 35, 25, 50, 50) stroke(255) noFill # Rectangle shows area being copied rect(7, 22, 10, 10) end