The original integral is:
$$\int\limits_{|z| = 2} \frac{z^4dz}{z^4+1}$$
It is seen that integration area is a circle with radius 2, the integral has 4 different poles and can be solved as $z = \sqrt[4]{-1}$ (I can calculate it easily by the formula, know that $\arg = \pi$ ).
But, by theory, to calculate such integrals, the power of a denumerator has to be at least two degrees lower than numerator's one, but what to do if they are equal?
Since $\int_{|z|=2}1dz=0$ and $\frac{z^4}{z^4+1}=1-\frac1{z^4+1}$, $$\int_{|z|=2}\frac{z^4dz}{z^4+1}=-\int_{|z|=2}\frac{dz}{z^4+1}$$