tools: main, use copy instead of looping
tools: main, use copy instead of looping

Use a copy to ostream_iterator instead of looping with stringstream.

Change-Id: Ife8d31ce6ec970763dadbba813cab235156cb86c
Signed-off-by: Patrick Venture <36c53fa43f47f3fd67cb2fc38031827244d18a1f@google.com>

openbmc/phosphor-ipmi-flash