Use any partition manager you like. The commercial standard is Partition Magic, but you'll be able to find others at the usual download sites.
It's not a feature of Windows XP as Microsoft provides it.
I have to shrink my C drive in win xp. . How to do that?