optimize copy, benchmarks