Helper function Uses a simple 'tape merge' Performs an operation per-element on the two value arrays. Writes result to OutResultValueArray. OutResultValueArray will be the union of the two value arrays after the operation is completed. InPredicate is called on all elements that are added to OutResultValueArray, with appropriate flags.