suppose we have the free field lagrangian: $$L=-\frac{1}{4}F_{\mu \nu} ^2$$ then its just $$L=-\frac{1}{4}(\partial_\mu A_\nu -\partial_\nu A_\mu)^2$$ what I don't understand is how its equal to: $$L=-\frac{1}{2}(\partial_\mu A_\nu)^2 +\frac{1}{2}(\partial_\mu A_\mu)^2$$
I appreciate any help. Thank you.