cp directive implemented, tested and working