Not the same. Codex is fine-tuned to autocomplete code. ChatGPT with IDE integration and access to your codebase would allow to have conversations about your codebase. You can't do that with simply having access to codex