Updated ArrayCompare