copy rows in different files