Is it possible that a kind and compassionate child becomes a sociopath or psyhcopath when he gets older?

Depends on circumsta. It is hard to say what happens as a child ages. Though one's personality is generally formed by age 5, many genetic and environmental factors combine to produce adult psychological traits. Best thing to do is to provide a loving, supportive home life for any child!
Not likely. Sociopathy/psychopathy is correctly known as antisocial personality disorder, which manifests itself early in a child's life, often as far back as the single digits, diagnosed prior to age 18 as conduct disorder. After that, pending symptoms that continue, the diagnosis becomes antisocial personality disorder.