You can use aOne way will be to add it to the definition of ComplexityFunctionCos to tellby Mathematica to do what you wantUnprotecting it. Here is a simple example of such a function:
cf[e_]Unprotect[Cos] Cos[2 x] := Count[e, _Sin,1 Infinity]- +2 LeafCount[e]Sin[x]^2 Protect[Cos] Now you can pass your expression containing $cos(2x)$ to FullSimplify using cf to convert it to $1 - 2sin(x)^2$ like soThen evaluating the following:
FullSimplify[22 Cos[2 x] + 3 x Cos[2 x] + Tan[x] Sin[x] Cos[2 x] + Exp[Tan[Cos[2 x]]], ComplexityFunction -> cf]
gives:

Which you can further Simplify if you so please. Notice that the desired replacement has occurred everywhere there's Cos[2x]