I wanted to know if it's to old to partition it to XP
I assume you mean install XP. Or do you mean shrink the size of the current OS, create a new partition in the now-unused space, format the space, and install XP on that? I wouldn't recommend doing that because you can easily lose your current OS. It may be possible, but you'd have to use a special utility to get both OS to show up. If you really want to try that, check HowTo Geek's instructions
http://www.howtogeek.com/howto/8790/dual-boot-your-pre-installed-windows-7-computer-with-xp/I suggest getting a second hard drive if you decide you want an XP installation on the computer. It's way easier.
A 5-year-old computer might be too new for XP. Vista was released in 2007, and name brand computers started using hardware that was Vista-compatible and didn't support XP.
You need to check and make sure your motherboard, video card, etc. support XP. If this is a custom made computer and not a name brand, check to see if the motherboard is supported. Otherwise check the website of the computer brand.
Do you have any activations left on the XP disc? Usually the retail versions that come in a box have 3 activations. The "for system builders" type of CD has only one. You may be able to reactivate on the same computer without using up an activation, but a five-year-old computer would not have come with XP.