\(\Leftrightarrow\left(x^3-3x^2+3x-1\right)-2019\left(x-1\right)^2=0\\ \Leftrightarrow\left(x-1\right)^3-2019\left(x-1\right)^2=0\\ \Leftrightarrow\left(x-1\right)^2\left(x-1-2019\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}x=1\\x=2020\end{matrix}\right.\)
x3-3x2+3x=1+2019(x-1)2
=> x3-3x2+3x-1= 2019(x-1)2
=>(x-1)3=2019(x-1)2
=>(x-1)3:(x-1)2=2019
=> x-1=2019
=>x=2020