add multithreading to copy_domain
Merge pull request #299 from dimagi/multithread_copy

add multithreading to copy_domain