Fix cp option for POSIX compatibility