Avoids using reflection in the applet version.

As a workaround, the copy routine using reflection is still used
in the parallel simulation test so that the test passes.

Now the applet works again in the browser.