Chosing the right transistor

But I need a motor driver, I can use it instead of the circuit with transistor?.