Added async copying and fixed bugs.

Fixed bug preventing copying more than once.