* Fixes #34893 (#40166) Fixes several bugs exposed in #34893 * Fixes relative path handling in copy so that it splits directories and reconstructs the correct file path * Return failed in the proper circumstances (cherry picked from commitca4147f2cc) * Add changelog for recursive copy fix (cherry picked from commitcab0f21564)