added mutability to copy