variations on []byte copy functions with benchmarks