Compare arrays.