You have two questions:
1. can you copy given number of chars from one string to another - starting from a position chosen by you
2. can you compare two strings
Note that you cannot specify directly to the function the starting position of the string. You have to use something like s+5 to move to the start position of the copy.