use fgets to read the source file one line at a time. this will take a small character array of some arbitrary length. say 80 or 120 characters. you could do it a lot smaller, but i don't see any reason why you would want to..
use fprintf to write those single lines, one line at a time, to your destination file.
these two functions are contained in a while loop that continues to execute as long as there are lines left to read in the source file.
while (fgets(buffer, 80, fileHandle1) != NULL)
fprintf(filehandle2, "%s", buffer);
note, see where i hardcoded '80' as the size of the read. this is not a good practice, and would be better served using a #define'd constant, say MAX_BUFFER_READ, and the character buffer itself will need to be one character larger than this, to account for the terminating NULL character.
#define MAX_BUFFER_READ 80
char buffer[MAX_BUFFER_READ + 1];
while (fgets(buffer, MAX_BUFFER_READ, fileHandle1) != NULL)
fprintf(filehandle2, "%s", buffer);
.