@pac - you can assign a variable to the size of array 1 using sz = Array1. Then you can append array 2 using table.insert with sz+ a loop counter. If you post a little code we can make more pointed suggestions.
@pac If you want to add one table to the end of another, try this.
function setup()
-- create 2 tables
tab1={1,2,3,4,5}
tab2={6,7,8,9,10}
-- add table 2 to the end of table 1
for z=1,#tab2 do
table.insert(tab1,tab2[z])
end
-- print table 1
print(table.concat(tab1," "))
end
@pac - please read the reference for table.insert. Without specifying it new table entries are appended. The full syntax is table.insert(tab1,pos,value) where value, in your case is tab2[z] and pos defaults to #tab1+1. As each entry is inserted #tab1 is automatically incremented so #tab1+1 always points to the next table entry point ie to append the next value in the table.