Line 1 should be: #include <iostream> otherwise it doesn't compile.
What is the purpose of lines 8 and 12?
Line 9 should be int Array[] = { 1,2,3 };
Line 26 should be for (int i = 0; i < x; i++).
Finally, the bug is in lines 13-23, which should be:
1 2 3 4 5
for (int i = 0; i < (x - 1); i++)
{
Array[i] = Array[i + 1];
}
Array[x - 1] = temp;