Proof (morphisms of projective varieties are closed)
Since $Y$ is separated, $Δ_Y$ is closed in $Y\times Y$. As $f \times \id: X\times Y \to Y \times Y$ is a morphism (check via Segre), it is continuous, so $Γ_f := \sb{(x,f(x))}{x\in X}$ is closed.
Factor $f$ through $$ \begin{alignat*}{3} f: X &\xrightarrow{\id \times f}{} &&X \times Y &&\xrightarrow{π_2} Y \\ x &\mapsto &&(x,f(x)) && \mapsto f(y). \end{alignat*} $$
Consider a closed subset $Z$ of $X$. $Z \times Y$ is closed in $Y\times Y$ (check via Segre), so $Γ_{f|_Z} = \sb{(x,f(x))}{x\in Z} = Γ_f \cap (Z\times Y)$ is closed in $X \times Y$. Now $π_2$ is closed by completeness of $X$, so $f(Z) = π_2(Γ_{f|_Z})$ is closed.