CoT Vectors: Transferring and Probing the Reasoning Mechanisms of LLMs