Garbage-less array copy. See #5.