CommonElement from two arrays