Apply the given transform function to each element of the original sequence and append the results to the given destination.
The operation is terminal.