Any effects that say that the token can't attack (such as that of Doomed Artisan, or if you copy a token with defender) affect only the declaration of attackers. They won't stop the token you populate from entering the battlefield attacking.