Add the function to copy a project