Just scanned your code and found this typo where you seem to have located your problem:
if (sentence[c] == ' ');
{
...
the extra ; might be a nuisance 8o
I didn't check the code seriously but if all you do is string copying you could just use strcpy() instead of the combo sprintf(sTo,"%s",sFrom).
Hope this helps. I'm going to bed now too. Goodnight
