/**
 * Copy a object.
 * @function lib.object.copy
 * @param {object} src - Object to copy from.
 * @param {object} dest - Object to copy to.
 * @returns {object} - Copied object.
 * @author Taka Okunishi
 *
 */
module.exports = function (src, dest) {
    Object.keys(src).forEach(function (key) {
        dest[key] = src[key];
    });
    return dest;
};