Fix copying of static files

/to @bajtos 

This patch fixes file copying for `addComponent()`.

Removed in #63.