In reply to mittal:
You can just make an assignment from queue to dynamic array, and the dynamic array takes on the size of the queue
mon_tran.data=data_que;
If you mean to say that your are randomizing the dynamic array with a size larger than the queue, and want to insert the queue into the dynamic array leaving the additional elements with their values, you can use a for loop
for(int index=0;index<data_que.size && index < mon_tran.data.size; index+)
mon_tran.data[index]=data_que[index];
If that is not what you meant, please show a complete example.