remove hand-rolled for-loop in favour of copy()

benchmark             old ns/op    new ns/op    delta
BenchmarkIdenticon     11211612      9373147  -16.40%