\(A=-2x^2+4xy-2y^2+4\left(x-y\right)-2-8y^2+8y+2019\\ A=\left[-2\left(x-y\right)^2+4\left(x-y\right)-2\right]-8\left(y^2-y+\dfrac{1}{4}\right)+2020\\ A=-2\left(x-y-1\right)^2-8\left(y-\dfrac{1}{2}\right)^2+2020\le2020\\ A_{max}=2020\Leftrightarrow\left\{{}\begin{matrix}x-y=1\\y=\dfrac{1}{2}\end{matrix}\right.\Leftrightarrow\left\{{}\begin{matrix}x=1+\dfrac{1}{2}=\dfrac{3}{2}\\y=\dfrac{1}{2}\end{matrix}\right.\)