copy 3 times in sync_file