Ab Initio interview question

Find all the duplicate elements in 2 different arrays