replace Java& file copy with Apache commons IO copyFile