phpcpd: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/phpcpd - from package: php-phpunit-phpcpd

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/phpcpd - from package: phpcpd

You may install the required package with command apt-get install {package}
Error in other languages:
phpcpd: bevel nie gevind nie
phpcpd: comandă negăsită
phpcpd: comando não encontrado
phpcpd: commande introuvable
phpcpd: command not found
phpcpd: käsku ei ole
phpcpd: không tìm thấy lệnh
phpcpd: komanda nerasta
phpcpd: Kommando nicht gefunden.
phpcpd: kommandot finns inte
phpcpd: komut yok
phpcpd: nie znaleziono polecenia
phpcpd: níor aimsíodh an t-ordú
phpcpd: no se encontró la orden
phpcpd: no s'ha trobat l'ordre
phpcpd: opdracht niet gevonden
phpcpd: parancs nem található
phpcpd: perintah tidak ditemukan
phpcpd: príkaz nenájdený
phpcpd: příkaz nenalezen
phpcpd: команда не найдена
phpcpd: командата не е открита
phpcpd: 命令找不到
phpcpd: コマンドが見つかりません