A man who was attacked by a crocodile while swimming in a popular lake in WA’s north has been transferred to Royal Perth Hospital for treatment.