First off, good job on sustaining the life of your betta for this long, since most don't make it anywhere close to this due to poor husbandry by their owners.
At nearly 3 years, your betta is an old man. I think just like humans, your betta is just developing skin blotches and such, and its just part of the aging process.