Improve copying of LWJGL natives.