That move copies all the stat changes your opponent has done. Like if a Pokemon used swords dance, and you use that move, you'd get your attack raised also.