Added core_course_duplicate_course, untested.