Suppose we have:
$$
\alpha+\beta=\frac{-b}{a}=\gamma+\delta
$$
and
$$
\alpha\beta=\frac{c}{a}=\gamma\delta
$$
Then, after squaring both sides of the top equation, we have
$$
\alpha^2 + 2\alpha\beta+\beta^2=\gamma^2+2\gamma\delta+\delta^2
$$
Now if we subtract four times the second equation from both sides we get
$$
\alpha^2 - 2\alpha\beta+\beta^2=\gamma^2-2\gamma\delta+\delta^2
$$
which we can rewrite as
$$
(\alpha-\beta)^2=(\gamma-\delta)^2
$$
which has the two solutions $(\alpha-\beta)=\pm(\gamma-\delta)$.
In the first case: $\alpha-\beta=\gamma-\delta$. But now if we add the equation at the top on each side we get $2\alpha=2\gamma$, so $\alpha=\gamma$.
In the second case: $\alpha-\beta=-\gamma+\delta$. But now if we add the equation at the top on each side, we get $2\alpha=2\delta$, so $\alpha=\delta$.
If follows from the first equation that either $\alpha=\gamma$ and $\beta=\delta$, or $\alpha=\delta$ and $\beta=\gamma$.