Fix some problems with block copy.

It is frankly amazing that this ever worked -_-.