Dynamic Array

In reply to Abhijeet Anand:
You can use array concatenation. This creates a new 11 element array from the 10 element array and copies it back.

module top; 
  int da[];
  initial begin
    da = {0,11,22,33,44,55,66,77,88,99};
    da = {da[0:4],1010,da[5:9]};
    $display("%p",da);
  end
endmodule

But a queue is better suited for this kind insertion of single elements without haven to reallocate a new alway every time.

module top;
  int q[$];
  initial begin
    q = {0,11,22,33,44,55,66,77,88,99};
    q.insert(5,1010);
    $display("%p",q);
  end
endmodule