Fix off-by-one error in gen_copy!'s BufferTooSmall
Fix off-by-one error in gen_copy!'s BufferTooSmall

When the buffer given to gen_copy! (and thus gen_slice!) is too small,
cookie-factory would ask for one more byte than actually needed.

Geal/cookie-factory