move Copy and CopyFile from DB to Tx
add tx.Size() and ensure tx.Copy() copies exactly that many bytes
review comments
Merge pull request #171 from Shopify/tx_copy

Move Copy/CopyFile from DB to Tx and make sure it copies exactly Tx.Size() bytes