src/Common.js
/**
 * Copies all properties from the source to the destination.
 * 
 * @param {Object} source the source.
 * @param {Object} destination the destination.
 */
Copies all properties from the source to the destination.

@param {Object} source the source.
@param {Object} destination the destination.
Copies all properties from the source to the destination . @param { Object } source the source . @param { Object } destination the destination .
function copy(source, destination) {
	for ( var k in source) {
		if (source.hasOwnProperty(k)) destination[k] = source[k];
	}
}
function copy ( source , destination ) { for ( var k in source ) { if ( source . hasOwnProperty ( k ) ) destination [ k ] = source [ k ] ; } }
Copies all properties from the source to the destination.
Copies all properties from the source to the destination .