Question: I was wondering if there is a way to merge multiple layers. I actually would like to merge all layers in the registry programmatically, all of them are point layers and have the same fields.
I have thinking I might copy all features from all layers and paste them into a new vector layer... but I believe there should be an easier option. What do you think??
Would that be possible?

Answer: 
you can call a process like the merge function programmatically in python: 

```
import processing
processing.runalg('qgis:mergevectorlayers', layer1, layer2, savename)

```
MMQGIS plugin have your merge funcion... other merge funcion can be found in Processing/gdal Processing/saga

but MMGIS works as you aspected