Trong không gian Oxyz, cho hai điểm\(A\left( {1;1; - 2} \right)\) và \(B\left( {3;0;1} \right)\). Vecto \(\overrightarrow {AB} \) có tọa độ là
A.\(\left( {4;1; - 1} \right)\)
B.\(\left( {2;\dfrac{1}{2}; - \dfrac{1}{2}}\right)\)
C.\(\left( {2; - 1;3} \right)\)
D.\(\left( { - 2;1; - 3} \right)\)