Implemented dup(2) in Java.
Implemented the dummy of fcntl(2) in Java.