# Proof involving closures of functions in metric spaces

If f is a continuous mapping of a metric space $X$ into a metric space $Y$, prove that $f(\overline{E}) \subset \overline{f(E)}$ for every set $E \subset X$. Show by an example that $f(\overline{E})$ can be a proper subset of $\overline{f(E)}$.