If there exists an epimorphism from a group $G_1$ to $G_2$ that is not one-to-one, then can $G_1$ and $G_2$ be isomorphic? I am trying to show that two groups are isomorphic only if a certain condition holds. I can show that a specific epimorphism between the two groups is one-to-one only if this condition holds, but it isn't obvious that for infinite groups that this should mean that there can't exist an isomorphism between the two groups.
If there is a non-one-to-one epimorphism from a group $G_1$ to a group $G_2$, does this mean that all epimorphisms from $G_1$ to $G_2$ are not one-to-one?

No, that would be too much to ask. For instance, consider the map $$g:(\Bbb Z[X],+)\to (\Bbb Z[X],+)\\ g(p)=\frac{p-p(0)}{X}$$
Then, $\ker g=\Bbb Z$, the map $p\mapsto Xp$ is a section of $g$ and $id:\Bbb Z[X]\to \Bbb Z[X]$ is an isomorphism.
