added cp.cpp
updated Makefile for cp.cpp