Merge "init: use read_file and write_file to implement do_copy builtin" am: 554c1fa234
am: ed73c21658

Change-Id: I5ae4531a3ce6c68eac9eba47d2bb15e9a6109891