So this is the formula I'm working with:
$$
E^2 = m^2c^4+p^2c^2
$$
From that we can get this:
$$
E = \sqrt{m^2c^4+p^2c^2}
$$
But I'm wondering what the process between ^ this equation and the one below is called.
Also could someone explain to me the reasoning behind this factorisation(?)
$$
E = \sqrt{m^2c^4(1+\frac{p^2c^2}{m^2c^4})}
$$
It is a simple use of the distributive property (Wikipedia link): $$\Large xy+xz=x(y+z)$$ In your situation, $x=m^2c^4$, $\,y=1$, and $\,z=\dfrac{p^2c^2}{m^2c^4}$.
As a commenter points out above, the purpose of this manipulation of the formula is likely to get $$E = \sqrt{m^2c^4\left(1+\frac{p^2c^2}{m^2c^4}\right)}=\sqrt{m^2c^4\Large\strut}\cdot\sqrt{1+\frac{p^2c^2}{m^2c^4}}=mc^2 \sqrt{ 1 + \frac{p^2c^2}{m^2 c^4} }=mc^2 \sqrt{ 1 + \frac{p^2}{m^2 c^2} }$$ which isolates $\sqrt{1+\frac{p^2}{m^2c^2}}$ as a sort of relativistic correction factor for the equation $E=mc^2$.