Optimize simple_copy_n a bit for the static case