add copy constructors to Block and Inventory
add shred format check