Fixed arraycopy off by one error.

bitcoinj was previously leaving off the final byte and including a leading 0. I believe this breaks compatibility with existing DBs. H2FullPrunedBlockStore is also affected