Extract copy task for key and crt.