Updated copying file examples using java system library 7.