adding cp source code
Merge pull request #1 from aorti017/master

adding cp source code