in reply to Comparing two arrays...

It is a FAQ: How do I compute the difference of two arrays? How do I compute the intersection of two arrays?