Garbage in, garbage out. If you prompt well its the best tool Ive used so far (for code and non-code tasks) Usage of obscure libraries or super complex logic will likely result in bugs, but the high level approach makes sense. Copilot