Make special cases explicit and rely on arraycopy

Relying on the builtin gives in general better results on the OMOP branch.

Signed-off-by: Stefan Marr <git@stefan-marr.de>