It seems that Copilot is helpful in cases when the code is well structured. It writes simple functions easily, and in complex ones, it will predict one line at a time. You will have to develop the program's architecture yourself. Or ask ChatGPT