More perf improvements by using unsafe copy.