The new argument is \(n\theta+2n\pi\), and \(2n\pi\) is whole turns, so sine and cosine do not change: an integer power does not depend on the chosen argument.
De Moivre's formula gives the integer power \(n\) of a complex number \(z\) of modulus \(r\) and argument \(\theta\): it raises the modulus to the \(n\)-th power and multiplies the argument by \(n\).