I just tested this and it does what you want - it may or may not be the most time-efficient way:
ASSUMING ARRAY "A" and ARRAY "B" ARE THE SAME SIZE:
Use ARRAY SIZE on array A
Use ARRAY INDEX to get # columns (index #1) from the ARRAY SIZE output
Wire # Columns to N input of FOR loop
In FOR loop, put two INDEX ARRAY functions.
Wire array A thru loop to array input of INDEX ARRAY #1. DISABLE INDEX at tunnel.
Wire array B thru loop to array input of INDEX ARRAY #2. DISABLE INDEX at tunnel.
Wire I (loop counter) to INDEX #1 (the second one) of both INDEX ARRAY functions.
The output of these is the current column of each array
Use BUILD ARRAY with three inputs:
Input 1 is from left SHIFT REG.
Input 2 is output of top Column-selector (
Index Array)
Input 3 is output of bottom Column-selector (Index Array)
Output is to right SHIFT REG.
Init the SHIFT REG with an empty 2-D array.
Transpose the output SHIFT reg and there's your result.