How can I extend a wall outlet?
They sell extenders just for this.



They come in metal, aluminum, plastic, different thickness for many applications, single gang, double, etc...  Visit the electrical aisle of your home improvement store.