Add record array concatenation function