made sure the names for rename and the size in the truncates , by using memcpy