Invoking .call() function with array as input

I have a function on contract A for examples :

uint256[] values;
function set(uint256[] _arrayToSet){
values = _arrayToSet;

It works perfectly when called directly, but I would like to call it from contract B, so in B I have something like that :

function set(address _contract, uint256[] _values){
bool d = bytes4(sha3("set(uint256[])")),_values);

However this does not set values, is there a way to use .call() with array as input ? Thanks in advance.
Sign In or Register to comment.