For more about the EGL Java™ object space in which javaLib.storeCopy() and similar functions operate, see Java access functions. EGL maintains this method of Java access for compatibility with earlier versions. For new code, use the more powerful ExternalType syntax; for more information, see ExternalType part.
javaLib.storeCopy(
sourceId javaObjId in,
targetId javaObjId in)
The following example copies sourceId to a new object in the EGL object space.
javaLib.storeCopy("sourceId" as "objID:java",
"targetId" as "objID:java");