An array concat function