copy(x, y, width, height, layer) → {array}
Copies all of the tiles in the given rectangular block into the tilemap data buffer.
Parameters
Name Type Argument Description x integer X position of the top left of the area to copy (given in tiles, not pixels) y integer Y position of the top left of the area to copy (given in tiles, not pixels) width integer The width of the area to copy (given in tiles, not pixels) height integer The height of the area to copy (given in tiles, no