Merge "Revert "init: use read_file and write_file to implement do_copy builtin"" am: 3428d0c2c0
am: 02d720eb27

Change-Id: I72a4db587b3aea081aab1d0dd3eefd714c46f8e1