compile copy string