Update cp.cpp
Merge pull request #2 from htsai010/patch-1

Update cp.cpp