Can't we just do this operation in place? Please add a comment as to why this is necessary, too.