Improve copy task API.
Add sleep to copy for test.