Merge "Revert "init: use read_file and write_file to implement do_copy builtin""