Invocation: support copyTo method on Java arrays #1007
Test for copyTo method on Java arrays #1007