結果 : find the duplicate element in a given array using java 8 features