Replaced the `cp` and `mv` occurrences with `{copy,move}file`