Self-assembled CoAs nanostructures