only return affected rows for copy to
copy to docs
Merge pull request #656 from crate/dobe/copytodocs

Dobe/copytodocs