set thread_copy