Years versus Age

These 2 sentences are both correct and both have the same meaning?

a.She is 20 years old.
b.She is 20 years of age.

Thanks
K

Hi,

(b) sounds a bit formal but is all right. I’ll go for (a)

Alan