Only perform the strcpy if writeTo and readFrom are different from one another, otherwise valgrind is raising an error (and would be right about doing so).
Valgrind error message: Source and destination overlap in strcpy Further information: https://www.valgrind.org/docs/manual/mc-manual.html#mc-manual.overlap
A
Alexander Entinger committed
27cfc4e3b750374a02405ae90f7523e04c96f5b4
Parent: 4e295b1