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

This reverts commit 82bac0de6d95bcdf45729516f6a4f29eb2681118.

Change-Id: Ibfdf453bd85ba4fcd1948b78bd22e639a883653e
4 files changed