\(a^2+b^2+c^2=ab+bc+ca\)
\(\Leftrightarrow2a^2+2b^2+2c^2=2ab+2bc+2ca\)
\(\Leftrightarrow\left(a-b\right)^2+\left(b-c\right)^2+\left(c-a\right)^2=0\)
\(\Leftrightarrow\left\{{}\begin{matrix}a-b=0\\b-c=0\\c-a=0\end{matrix}\right.\)
\(\Rightarrow a=b=c=\frac{2019}{3}\)