fun concatenate(): Allocated
Concatenates the values collected into a new safe memory allocation
Return the result of the concatenation operation