add copying of the java library