Yup, they bought a few samples from the Portugese and then started mass producing them based on those samples. While arquebuses were a European technology they spread frighteningly fast across the world. The Native Americans were uniquely screwed in that, because they were a collection of mostly Stone Age civilizations with only the a few South American civilizations developing bronze age technology, they completely lacked any established metallurgical technology, which means they could not replicate firearms without outside help even if they wanted to.
Plus disease and epidemic pretty much crippled them before they ever had a chance in the first place.