Fix the copying issues
Remove second done call from error case
Merge pull request #4 from jcreamer898/master

Fix the copy issue