I'm trying to prove whether or not this is true:
Let $\mathcal{F}$ be a presheaf and $\mathcal{G}$ a sheaf (of rings, let's say) on a space $X$. If $\{U_i\}_i$ is a basis for the topology of $X$ and $\mathcal{F}\big|_{U_i}\simeq \mathcal{G}\big|_{U_i}$ for all $i$, then the sheafification $\mathcal{F}^{sh}$ is isomorphic to $\mathcal{G}$.
If this is true, I imagine it could be proven by universal property.
I can see how to build the morphism of pre-sheaves $\mathcal{F}\to\mathcal{G}$: if $f\in\mathcal{F}(U)$ we define it's image in $\mathcal{G}(U)$ as the gluing of the images $f\big|_{U\cap U_i}$ in $\mathcal{G}(U\cap U_i)$.
But don't know how to build the morphisms of sheaves $\mathcal{F}^{sh}\to\mathcal{G}$.
Any advice?