Empties the target table, and merges all values from the source table into it.
Demonstrates the use of this function.