lib: faster .copy()