This uses a more memory efficient copy, and gets us closer to not having a shell in the base system if not required. Signed-off-by: Justin Cormack <justin.cormack@docker.com>