Implemented the logic to not copy paths