Copy child table value from another child table on another doctype

Hi i am trying to copy the value of a child table on another doctype using this script

frappe.call({
method:“frappe.client.get_list”,
args:{
doctype:“acquaintance”,
filters: {
‘parent’: frm.doc.job_application_form
}
,
fields: [“name1”,“department”,“relationship”]
},
callback: function(r) {
if (r.message) {
$.each(r.message, function(d) {
var child = cur_frm.add_child(“acquaintance”);
frappe.model.set_value(child.doctype, child.name, “name1”, d.name1)
frappe.model.set_value(child.doctype, child.name, “department”, d.department)
frappe.model.set_value(child.doctype, child.name, “relationship”, d.relationship)
frm.refresh_field(“acquaintance”);
});

But it shows me this error