Added cp and unittest cp