Function compareArrays

Produces a CompareChangeSet between two arrays.