Information is transferred from short-term memory (also known as working memory) to long-term memory through the hippocampus. You have one hippocampus in each side of the brain located in the inner fold of each temporal lobe.
Source: McGill University, The Brain From Top To Bottom (Copyleft)