program ArrayConcatenation function main() a int[] = [ 1, 2, 3 ]; b int[] = [ 4, 5, 6 ]; c int[]; c.appendAll(a); c.appendAll(b); for (i int from 1 to c.getSize()) SysLib.writeStdout("Element " :: i :: " = " :: c[i]); end end end