Helper function Uses a simple 'tape merge' Performs an operation per-element on the two value arrays. Writes result to InOutValueArray0. InValueArray0 will be the union of the two value arrays after the operation is completed (i.e. new elements in InValueArray1 are added to InValueArray0) InPredicate is called on all elements that are added to or already existing in InOutValueArray0, with appropriate flags.