I'm trying to get an understanding of equality in category theory, and found some answers to this question on SE (here and here), but I didn't really feel like I fully grasped the notion of equality from those answers so I thought I'd ask about equality in a more specific context.
Given two objects $A$ and $B$ in some category $C$, we can introduce a morphism $A \rightarrow B$ and assign it a label such as $f$ and write that label assignment as $f: A \rightarrow B$. If another morphism $g$ would be introduced as $g : A \rightarrow B$ we would now have two labels for morphisms from $A$ to $B$.
My question is, are the morphisms $f$ and $g$ introduced here meaningfully distinct? Or are they exactly equal (in the same sense that writing $x=5$ and $y=5$ implies $x=y$) even in a general category where we're not modelling some other mathematics?
If they are not exactly equal, how can it be possible to formalize things such as monomorphisms and epimorphisms that seem to rely on some notion of equality of morphisms?
Recall that part of the definition of a category is that for any two objects $A$ and $B$, the category specifies a set (or class, if your categories are not required to be locally small) $\operatorname{Mor}_C(A,B)$ of morphisms from $A$ to $B$. When we write $f:A\to B$, that is just an alternate notation for saying that $f\in\operatorname{Mor}_C(A,B)$. So if $f:A\to B$ and $g:A\to B$, do $f$ and $g$ have to be equal? Certainly not, because $\operatorname{Mor}_C(A,B)$ is just some set, and $f$ and $g$ might be different elements of that set.
In other words, writing $f:A\to B$ does not specify exactly what $f$ is in the same way that writing $x=5$ specifies exactly what $x$ is. All it says is that $f$ is some element of the set $\operatorname{Mor}_C(A,B)$, but it doesn't say which one. This is analogous to stating something like "$x$ is a real number"--this tells you some information about $x$, but does not uniquely determine it. If you say something like "let $x$ and $y$ be real numbers", then $x$ and $y$ might be equal, or they might not--you simply haven't said whether they are or not. Similarly, if you say "let $f:A\to B$ and $g:A\to B$", this says nothing about whether $f$ and $g$ are equal.
For a really simple example, consider the category $C=\mathtt{Set}$ of sets, in which objects are sets and morphisms are functions between sets. If you have two sets $A$ and $B$, are any two functions $A\to B$ the same? Certainly not in general. For instance, if $A=B=\mathbb{R}$, you might have one function $f:\mathbb{R}\to\mathbb{R}$ defined by $f(x)=x$ and another function $g:\mathbb{R}\to\mathbb{R}$ defined by $g(x)=x^2$.