Returns an array that holds all items that appear in both passed arrays.