How do Transformers perform In-Context Autoregressive Learning?