First draft at mmccopy program