Coping attachments

Use the API.

This won’t end up increasing storage, because the attachment store is content-addressable, so any unique data blob is only stored once no matter how many docs have a “copy” of it.