Create cp.cpp

added cp.cpp