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

Change-Id: Ib805dca4b5f8c126538408b93f422a4924c3b844