update getline_copy
update getline_copy