Do a diff style merge of two arrays.