Revert "init: use read_file and write_file to implement do_copy builtin"
am: 281531bdcb

Change-Id: I674004b06147b48b80fd39a0b76e9d98ae79353c