Corrected the copy order and paths