Use io.Copy instead of homebrew