This should do it I think. The "---" means subevent.
Start of layout
gamearray: set size to (array1.width+array2.width, 7,1)
--- array1: for each xy element
---> gamearray: set at (array1.curX, array1.curY, 1) to array1.curValue
--- array2: for each xy element
---> gamearray: set at (array2.curX+array1.width, array2.curY, 1) to array2.curValue