This function copies all the data from the givenReaderinto theWriterinstance, by calling each getter function of theReader, and passing the return values to the matching setter functions in theWriter. It is implemented in the abstract class itself to provide the functionality for all DNA Writers.