The goal of this program is to copy the tail function on the unix systems. So, I got a function to copy the content of a file into a string variable (file_to_str) and another on