Create Duplicate.java

Created initial Duplicate.java file.