Check Duplicate Element In Array Using Java