Write a function to find elements from one array ('needles') inside another larger array ('haystack').