util: In DynamicBuffer.copy, return the new offset.