Bankrupt casual clothing retailer Gadzooks Inc is to sell its business to rival chain Forever 21 Inc.